﻿namespace RuoVea.CodeGen.Server.Models;

/// <summary>
/// 项目信息
/// </summary>
[SugarTable(nameof(GenProjectInfo), "项目信息")]
public class GenProjectInfo : EntityBaseId
{
    /// <summary>
    /// 名称
    /// </summary>
    [SugarColumn(IsNullable = false)]
    public string? Name { get; set; }

    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(IsNullable = false)]
    public string? Code { get; set; }
    
    /// <summary>
    /// 作者姓名
    /// </summary>
    [SugarColumn(IsNullable = false)]
    public string? AuthorName { get; set; }

    /// <summary>
    /// 模板内容
    /// </summary>
    [SugarColumn(IsNullable = false,IsJson =true)]
    public List<long> TemplateContent { get; set; } 
}
